/**
 * @Copyright: Interactive Business Solution Pte Ltd, Singapore
 * @Author: Dolita, 2007-12-21
 * @Version: 071221.001
 * Model class for Flight, following properties are required:
 * id, packageid, airline, aircraft, flightNo, departureDate, arrivalDate, duration,
 * start, destination, logo, economy, business, first, offlineOperator, updateTime
 */
 package com.ibsol.model
{
	[Bindable]
	[RemoteClass(alias="com.ibsol.tourix.model.Flight")]
	public class Flight
	{
		private var _id:int;
		private var _packageid:int;
		private var _airline:String;
		private var _aircraft:String;
		private var _flightNo:String;
		private var _departureDate:String;
		private var _arrivalDate:String;
		private var _duration:String;
		private var _start:String;
		private var _destination:String;
		private var _logo:String;
		private var _economy:Number;
		private var _business:Number;
		private var _first:Number;
		private var _offlineOperator:String;
		private var _updateTime:String;
		private var _pairid:String;
		/**
		 * Default constructor of Flight
		 */
		public function Flight()
		{
			_id = 0;
			_packageid = 0;
			_airline = "";
			_aircraft = "";
			_flightNo = "";
			_departureDate = "";
			_arrivalDate = "";
			_duration = "";
			_start = "";
			_destination = "";
			_logo = "";
			_economy = 0;
			_business = 0;
			_first = 0;
			_offlineOperator = "";
			_updateTime = "";
			_pairid="";
		}
		
		public function set id(value:int):void{
			this._id = value;
		}
		
		public function set packageid(value:int):void{
			this._packageid = value;
		}
		
		public function set airline(value:String):void{
			this._airline = value;
		}
		
		public function set aircraft(value:String):void{
			this._aircraft = value;
		}
		
		public function set flightNo(value:String):void{
			this._flightNo = value;
		}
		
		public function set departureDate(value:String):void{
			this._departureDate = value;
		}
		
		public function set arrivalDate(value:String):void{
			this._arrivalDate = value;
		}
		
		public function set duration(value:String):void{
			this._duration = value;
		}
		
		public function set start(value:String):void{
			this._start = value;
		}
		
		public function set destination(value:String):void{
			this._destination = value;
		}
		
		public function set logo(value:String):void{
			this._logo = value;
		}
		
		public function set economy(value:Number):void{
			this._economy = value;
		}
		
		public function set business(value:Number):void{
			this._business = value;
		}
		
		public function set first(value:Number):void{
			this._first = value;
		}
		
		public function set updateTime(value:String):void{
			this._updateTime = value;
		}
		
		public function set pairid(value:String):void{
			this._pairid=value;
		}
		public function get pairid():String{
			return this._pairid;
		}
		
		public function get id():int{
			return this._id;
		}
		
		public function get packageid():int{
			return this._packageid;
		}
		
		public function get airline():String{
			return this._airline;
		}
		
		public function get aircraft():String{
			return this._aircraft;
		}
		
		public function get flightNo():String{
			return this._flightNo;
		}
		public function get departureDate():String{
			return this._departureDate;
		}
		
		public function get arrivalDate():String{
			return this._airline;
		}
		
		public function get duration():String{
			return this._duration;
		}
		
		public function get start():String{
			return this._start;
		}
		
		public function get destination():String{
			return this._destination;
		}
		
		public function get logo():String{
			return this._logo;
		}
		
		public function get economy():Number{
			return this._economy;
		}
		
		public function get business():Number{
			return this._business;
		}
		
		public function get first():Number{
			return this._first;
		}
		
		public function get offlineOperator():String{
			return this._offlineOperator;
		}
		
		public function get updateTime():String{
			return this._updateTime;
		}
	}
}